//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
package GatewayWorker

//------------------------------------------------------------------------------
import (
	"fmt"
	"net/http"
)

//------------------------------------------------------------------------------
type IEvent interface {
	OnConnect(clientId string)
	OnWebSocketConnect(clientId string, r *http.Request)
	OnMessage(clientId string, data []byte)
	OnClose(clientId string)
}

//------------------------------------------------------------------------------
type Event struct{}

//------------------------------------------------------------------------------
func (o *Event) OnConnect(clientId string) {

}

//------------------------------------------------------------------------------
func (o *Event) OnWebSocketConnect(clientId string, r *http.Request) {

}

//------------------------------------------------------------------------------
func (o *Event) OnMessage(clientId string, data []byte) {

	fmt.Println("event")
}

//------------------------------------------------------------------------------
func (o *Event) OnClose(clientId string) {

}

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
